package com.atguigu.gmall.annotation;

import com.atguigu.gmall.cache.aop.CacheAspect;
import com.atguigu.gmall.cache.aop.CacheHelper;
import com.atguigu.gmall.cache.service.impl.CacheServiceImpl;
import com.atguigu.gmall.redisson.AppRedissonAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author 卡尼奶
 * @Date 2022/5/29 21:07
 * @Version 1.0
 */
@Import({CacheAspect.class, CacheHelper.class})
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE,ElementType.METHOD})
public @interface EnableAutoCache {
}
